global.document = global.window.document as Document;
global.location = global.window.location as Location;
